#ifndef __POSITION_EDITOR
#define __POSITION_EDITOR

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include "TB97Ctls.hpp"
#include "IvDictio.hpp"
#include "IvMulti.hpp"
#include "ColorPickerButton.hpp"

#define TAG_SRC ((HANDLE)1)
#define TAG_HND ((HANDLE)2)

class TPositionEditForm : public TForm {
  __published:
        TToolbarButton97 *btnOK;
        TIvTranslator *IvTranslator1;
        TColorPickerButton *btnPosColor;
        TLabel *Label1;
        TCheckBox *chDrawCourse;
        void __fastcall btnOKClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall FormShow(TObject *Sender);
  private:
    PMVPosition Pos;
  public:
    __fastcall TPositionEditForm( TComponent* Owner, PMVPosition p );
};

#endif
